## Copying CDR/BCMS Data

MV_CDR collects Communication Manager call detail records generated at the end of outbound calls. MV_BCMS collects Basic Call Measurement System records generated for inbound calls from Communication Manager to measure agents and splits/skills.

The IP Telephone File Server Application with MV_CDR and/or MV_BCMS can copy data securely between servers using the SSL/TLSV1 protocol. For example, CDR data might need to be captured and analyzed at both a branch office and a central site.

In this scenario, MV_CDR or MV_BCMS captures the raw data from the PBX. If the INI file CopyToIPTel flag is set, the import part of either application copies the captured data to the Avaya IP Telephone File Server Application CDRdata or BCMSdata subdirectories. To relay the data between sites, the Avaya IP Telephone File Server Application must be running on both servers with the HTTPS servers enabled.

At the sending end, the option CDRBackup or BCMSBackup must be set in the INI file together with:

- the backup frequency in minutes/hours/days format, and
- how many days to retain the data – RetainDays. The retention days are in units of 1 day and can be less than 1.0. For example, use “0.5” to represent 12 hours.

Data is automatically purged at both ends, with the receiving end allowing one additional week for the data to be processed.

The sending end must be programmed with the primary and, if needed, secondary file servers and with relevant DNS names or IP addresses set.

Figure 7: Sample .ini File Settings for CDR/BCMS

Sending end ini settings needed:

    #==============================================

    [HTTPS]

RunHTTPS=1
HTTPSPort=411
TLSV1=1

    [BACKUP_SERVERS]

#==============================================
CDRBackup=1
BCMSBackup=1
RetainDays=7.0
UpdateInterval=2
UsePrimarySvr=1
PrimaryIP=192.168.0.13
UseSecondarySvr=0
SecondaryIP=192.168.0.11

Note: At the receiving end, the Avaya IP Telephone File Server Application must be set as a fileserver to receive the incoming requests.

Receiving end ini settings needed:

#==============================================

    [HTTPS]

RunHTTPS=1
HTTPSPort=411
TLSV1=1

    [BACKUP_SERVERS]

#==============================================
FileServer=1
CDRBackup=1
BCMSBackup=1
RetainDays=7.0
UpdateInterval=2

The Avaya IP Telephone File Server Application performs most of the data relay function. With the options sets as shown in Figure 7, the Avaya IP Telephone File Server Application scans the two CDRBackup or BCMSBackup directories. The Avaya IP Telephone File Server Application creates a list of the files to be transferred. The storing end requests the list of files to be relayed on a periodic basis. The files in the list are uploaded to an equivalent CDRBackup or BCMSBackup directory on the file server. The receiving end then copies the data to the MV_CDR and/or MV_BCMS application as if the data was collected locally.

Using this mechanism and the redundant database options of MV_CXDR or MV_BCMS, you can perform highly secure and distributed management data collection.